package com.kaikeba.ssm.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kaikeba.ssm.mapper.ItemMapper;
import com.kaikeba.ssm.po.Item;
import com.kaikeba.ssm.po.ItemExample;

@Service
public class ItemServiceImpl implements ItemService{

	@Autowired
	private ItemMapper itemMapper;
	
	@Override
	public List<Item> queryItems() {
		ItemExample example =new ItemExample();
		List<Item> list = itemMapper.selectByExample(example);
		return list;
	}

}
